<div id="sidebar" class="yui-b robots-nocontent">
  <dl>
    <dt>Search</dt>
    <dd>
      <form id="search" action="<?php echo $siteUrl; ?>/search" method="get">
        <p>
          <input type="text" name="query" maxlength="255"
            value="<?php echo htmlentities(Pants::getResponse('query')); ?>" />
        </p>
      </form>
    </dd>
    
    <dt>Feeds</dt>
    <dd>
      <a href="<?php echo $siteUrl; ?>/?type=atom">
        <img src="<?php echo $themeUrl; ?>/images/feed-icon-14x14.png" alt="Feed" class="icon" />
        Articles
      </a>
    </dd>
    <dd>
      <a href="<?php echo $siteUrl; ?>/recent-comments?type=atom">
        <img src="<?php echo $themeUrl; ?>/images/feed-icon-14x14.png" alt="Feed" class="icon" />
        Comments
      </a>
    </dd>
  
    <?php if (isset($feedAtom)): ?>
      <dd>
        <a href="<?php echo $feedAtom; ?>">
          <img src="<?php echo $themeUrl; ?>/images/feed-icon-14x14.png" alt="Feed" class="icon" />
          This page
        </a>
      </dd>
    <?php endif; ?>
  </dl>

  <div id="copyright">
    <p>
      Copyright &copy; <?php echo date('Y'); ?> <a href="mailto:<?php echo htmlentities($siteEmail); ?>"><?php echo htmlentities($siteAuthor); ?></a>.
      All rights reserved.
    </p>
  </div>
</div>
